package com.qf.api.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import com.qf.api.blog.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 博客配置信息表
 * @TableName t_site_info
 */
@TableName(value ="t_site_info")
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class SiteInfoEntity extends BaseEntity {
    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 站长昵称
     */
    @TableField(value = "nickname")
    private String nickname;

    /**
     * 站长头像
     */
    @TableField(value = "avatar")
    private String avatar;

    /**
     * 站长座右铭
     */
    @TableField(value = "motto")
    private String motto;

    /**
     * 站长背景图
     */
    @TableField(value = "bg_image")
    private String bgImage;

    /**
     * Gitee 地址
     */
    @TableField(value = "gitee_url")
    private String giteeUrl;

    /**
     * GitHub 地址
     */
    @TableField(value = "github_url")
    private String githubUrl;

    /**
     * 网站标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 顶部通知内容
     */
    @TableField(value = "head_notice")
    private String headNotice;

    /**
     * 侧边公告内容
     */
    @TableField(value = "sidebar_notice")
    private String sidebarNotice;

    /**
     * ICP备案信息
     */
    @TableField(value = "icp_record")
    private String icpRecord;

    /**
     * 建站时间
     */
    @TableField(value = "start_time")
    private Date startTime;

    /**
     * 最后文章更新时间
     */
    @TableField(value = "last_update_time")
    private Date lastUpdateTime;

    /**
     * 访问量
     */
    @TableField(value = "visit_count")
    private Integer visitCount;

    /**
     * 个人简介
     **/
    @TableField(value = "introduction")
    private String introduction;
}